<!DOCTYPE html>
<html lang="zh">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>blog</title>
    <link rel="stylesheet" href="/css/style.css" />
    <style id="style-1-cropbar-clipper">
    .en-markup-crop-options {
        top: 18px !important;
        left: 50% !important;
        margin-left: -100px !important;
        width: 200px !important;
        border: 2px rgba(255, 255, 255, .38) solid !important;
        border-radius: 4px !important;
    }

    .en-markup-crop-options div div:first-of-type {
        margin-left: 0px !important;
    }
    </style>
    <style type="text/css">
    #cyReping .reping-header {
        display: none;
    }
    </style>
    <style type="text/css">
    #cyHotnews .hotnews-header {
        background-color: #23618a;
        color: #FFFFFF;
        font-size: 14px;
        font-weight: bold;
        padding: 6px 16px;
        display: none;
    }
    </style>
</head>
    <body>
        <div id="container">
            <header id="header">
                <div id="header-main" class="header-inner">
                    <div class="outer">
                        <a href="http://xujin.org/" id="logo">
                <i class="logo"></i>
                <span class="site-title">沉思录</span>
            </a>
                        <nav id="main-nav">
                            <a class="main-nav-link" href="http://xujin.org/">首页</a>
                            <a class="main-nav-link" href="http://xujin.org/archives">归档</a>
                            <a class="main-nav-link" href="http://xujin.org/about">关于我</a>
                            <a class="main-nav-link" href="http://springcloud.cn/">社区</a>
                            <a class="main-nav-link" href="http://venusplus.cn/">Venus+</a>
                            <a class="main-nav-link" href="http://xujin.org/sc/springcloud/">关于社区</a>
                        </nav>
                        <nav id="sub-nav">
                            <div class="profile" id="profile-nav">
                                <a id="profile-anchor" href="javascript:;">
                            <img class="avatar" src="./statics/avatar.png" />
                            <i class="fa fa-caret-down"></i>
                        </a>
                            </div>
                        </nav>
                        <div id="search-form-wrap">
                            <form class="search-form">
                                <input type="text" class="ins-search-input search-form-input" placeholder="搜索" />
                                <button type="submit" class="search-form-submit"></button>
                            </form>
                        </div>
                    </div>
                </div>
            </header>
            <div class="outer">
                <aside id="profile">
                    <div class="inner profile-inner">
                        <div class="base-info profile-block">
                            <div class="ape"></div>
                            <h2 id="name">DetoAndy</h2>
                            <h3 id="title" style="margin: 1.6em 0em">信息服务部</h3>
                            <span id="location"><i class="fa fa-map-marker"></i>广州, 中国</span>
                            <a title=" 关于我 " id="follow" target="_blank" href="http://xujin.org/about/">关于我</a>
                        </div>
                        <div class="article-info profile-block">
                            <div class="article-info-block">
                                55
                                <span>文章</span>
                            </div>
                            <div class="article-info-block">
                                32
                                <span>标签</span>
                            </div>
                        </div>
                    </div>
                </aside>
                <section id="main">
                    <article id="post-janus/janus-01" class="article article-type-post" itemscope="" itemprop="blogPost">
                        <div class="article-inner">
                            <header class="article-header">
                                <h1 itemprop="name">
                                    <a class="article-title" href="http://xujin.org/janus/janus-01/">自研网关纳管Spring Cloud(一)</a>
                                </h1>
                                <div class="article-meta">
                                    <div class="article-date">
                                        <i class="fa fa-calendar"></i>
                                        <a href="http://xujin.org/janus/janus-01/">
                                            <time datetime="2017-08-16T06:00:00.000Z" itemprop="datePublished">2017-08-16</time>
                                        </a>
                                    </div>
                                    <div class="article-category" style="text-transform: none;">
                                        <i class="fa fa-user"></i> detoandy
                                    </div>
                                    <div class="article-category">
                                        <i class="fa fa-folder"></i>
                                        <a class="article-category-link" href="http://xujin.org/categories/Janus%E7%BD%91%E5%85%B3/">Janus网关</a>
                                    </div>
                                    <div class="article-tag">
                                        <i class="fa fa-tag"></i>
                                        <a class="tag-link" href="http://xujin.org/tags/%E7%BD%91%E5%85%B3%E4%B8%AD%E9%97%B4%E4%BB%B6/">网关中间件</a>
                                    </div>
                                </div>
                            </header>
                            <div class="article-entry" itemprop="articleBody" lg-uid="lg0">
                                <p></p>
                                <p><strong>摘要</strong>: 本文主要从网关的需求，以及Spring Cloud Zuul的线程模型和源码瓶颈分析结合，目前最近一段时间自研网关中间件纳管Spring Cloud的经验汇总整理。</p>
                                <h2 id="一-自研网关纳管Spring-Cloud的原因"><a href="http://xujin.org/#一-自研网关纳管Spring-Cloud的原因" class="headerlink" title="一.自研网关纳管Spring Cloud的原因"></a>一.自研网关纳管Spring Cloud的原因</h2>
                                <h3 id="1-1-为什么要自研网关"><a href="http://xujin.org/#1-1-为什么要自研网关" class="headerlink" title="1.1 为什么要自研网关"></a>1.1 为什么要自研网关</h3>
                                <p>1.网关配置实时生效，配置灰度，回滚等
                                    <br/>2.网关的性能，特别是防刷，限流，WAF等
                                    <br/>3.动态Filter ，目前Zuul可以做到动态Filter，Filter配置下发，实时动态Filter
                                    <br/>4.对网关的监控，告警，流量调拨，网关集群。
                                    <br/>5.流程审计，增加Dsboard便捷的操作。</p>
                                <p></p>
                                <p class="article-more-link">
                                    <a title=" 查看更多 " href="http://xujin.org/janus/janus-01/#more">查看更多</a>
                                </p>
                            </div>
                        </div>
                    </article>
                    <nav id="page-nav">
                        <span class="page-number current">1</span><a class="page-number" href="http://xujin.org/page/2/">2</a><a class="page-number" href="http://xujin.org/page/3/">3</a><span class="space">…</span><a class="page-number" href="http://xujin.org/page/6/">6</a><a class="extend next" rel="next" href="http://xujin.org/page/2/">下一页 »</a>
                    </nav>
                </section>
                <aside id="sidebar" class="sidebar">
                    <div class="widget-wrap">
                        <h3 class="widget-title">本站公告</h3>
                        <div class="widget">
                        </div>
                    </div>
                    <div class="widget-wrap">
                        <h3 class="widget-title">分类</h3>
                        <div class="widget">
                            <ul class="category-list">
                                <li class="category-list-item">
                                    <a class="category-list-link" href="http://xujin.org/categories/Janus%E7%BD%91%E5%85%B3/">Janus网关</a>
                                    <span class="category-list-count">2</span>
                                </li>
                            </ul>
                        </div>
                    </div>
                </aside>
            </div>
        </div>
    </body>

</html>